package com.woniuxy.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (Grade)实体类
 *成绩表
 * @author zjx
 * @since 2021-05-14 19:35:28
 */
@ApiModel("成绩表Grade")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@JsonIgnoreProperties(value = {"handler"})
public class Grade implements Serializable {
    private static final long serialVersionUID = -17445727219557178L;
    @ApiModelProperty("ID")
    private Integer id;
    @ApiModelProperty("学生ID")
    private Integer studentId;

    @ApiModelProperty("学生对象集合")
    private List<Student> studentList;

    @ApiModelProperty("考试ID")
    private Integer examId;

    @ApiModelProperty("考试对象")
    private Exam exam;

    @ApiModelProperty("讲师ID")
    private Integer teacherId;
    //
    @ApiModelProperty("讲师对象")
    private Teacher teacher;

    @ApiModelProperty("状态码('未批阅','批阅中','已批阅')\n")
    private String status;

    @ApiModelProperty("学生答案")
    private String studentAnswer;

    @ApiModelProperty("正确答案")
    private String rightAnswer;

    @ApiModelProperty("分数")
    private Integer score;

    @ApiModelProperty("错误题号")
    private String wrongTopicNumber;

    @ApiModelProperty("是否通过")
    private Integer isPass;

    @ApiModelProperty("创建人")
    private String creater;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date updateTime;


}
